package com.tbs.parkingsaleapp.UI.HomePage;

import com.tbs.parkingsaleapp.Http.JsonData.LocationInfo;
import com.tencent.tencentmap.mapsdk.maps.model.LatLng;
import com.tencent.tencentmap.mapsdk.vector.utils.clustering.ClusterItem;

public class MyMarkItem implements ClusterItem
{
    LocationInfo info;
   public MyMarkItem(LocationInfo i)
    {
        info=i;
    }
    @Override
    public LatLng getPosition() {
        return new LatLng(info.getLocation().getLatitude(),info.getLocation().getLongitude());
    }
}